import { http } from "@/utils/http";
//用户接口
export const getUserInfoApi = ()=> {
    return http({
        url:'/user',
        method:'GET'
    })
}
//信息
export const putUserInfoApi = (selected:any)=> {
    return http({
        url:'/user',
        method:'PUT',
        data:selected
    })
}
//头像
export const putUserAvatarApi = (msg:any)=> {
    return http({
        url:'/user/avatar',
        method:'PUT',
        data:msg
    })
}

